Raspberry Pi 4

Raspberry 4 can be used with either a 32-bit armv7l/armhf operating system (usually Raspbian) or a 64-bit aarch64 OS like Debian, Ubuntu, Arch or the Raspbian aarch64 beta.

When using a 32-bit Raspbian the installation is done as for Raspberry Pi 2/3 For 64-bit aarch64/amd64 OSes Opencpn is installed using Flatpak, there is no difference to using desktop OSes like Ubuntu or Fedora. See Flatpak

64-bit Raspbian suffers from [bug 1972041](https://bugs.launchpad.net/raspbian/+bug/1972041). This affects users running 64-bit Raspbian on headless systems witout monitor. The root cause is a bug in the RealVNC server that comes bundled with Raspbian. Possible works-arounds includes to use TightVNC or tigervnc instead, both of which available through Debian repositories using tools like apt(8).